//
//  MainMenuLayer.h
//  SpeedTap
//
//  Created by Chi Ho Chiu on 18/8/11.
//  Copyright 2011 Individual. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"

@protocol MainMenuLayerDelegate
-(void) onPlaySelected;
-(void) onGallerySelected;
-(void) onCreditSelected;
@end


@interface MainMenuLayer : CCLayer
{
    id delegate;
}

-(void) onMenuItemClicked:(CCMenuItem *)sender;

@property (assign) id<MainMenuLayerDelegate> delegate;

typedef enum
{
    kMAIN_MENU_TAG_PLAY= 0,
    kMAIN_MENU_TAG_GALLERY = 1,
	kMAIN_MENU_TAG_CREDIT = 2
} EMainMenuTag;

@end
